package com.dubbo.controller;
import com.dubbo.service.LoginService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

/**
 *
 * @author chenluqiang
 * @date 2019/4/13
 */
@RequestMapping("/login")
@Controller
public class Login2Controller {

    @Resource
    private LoginService loginService;

    @RequestMapping("/save")
    @ResponseBody
    public Map<String,Object> save(){
        return loginService.checkAddress();
    }
}
